Refactor/remove obsolete resources and fields#654
Open
adrianburusdbt wants to merge 12 commits into
Open
Conversation
…ential now available
victorasu
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes all attributes and resources that were marked as deprecated in v1, as part of the v2 major release.
Breaking changes
dbtcloud_project_artefacts— resource removed entirely.dbtcloud_webhook— webhook_id removed from both the resource and data source. Use id instead. The data source id is now required.dbtcloud_repository— fetch_deploy_key removed from resource and data source.dbtcloud_databricks_credential— adapter_type and target_name removed from the resource. target_name removed from the data source.dbtcloud_spark_credential— target_name removed from resource and data source.dbtcloud_job— top-level timeout_seconds removed from the resource; use execution { timeout_seconds = N } instead. deferring_job_id removed from the singular data source. deferring_job_definition_id removed from the plural data source.Migration scripts
A
migration_scripts_to_v2/ directory has been added with one Python script per affected resource and a migrate_all.py master runner. Each subfolder contains the script, an example input file, and a README. Run a dry-run across your Terraform root to preview all changes before applying:Other fixes
Transient HTTP 500s caused by infrastructure errors (identified by a non-JSON Content-Type header) are now retried with exponential backoff in the API client. Application-level 500s are still returned immediately. Request bodies are also now correctly replayed on retries, fixing a bug where retry attempts would send an empty body.